package com.gs.zsmanage.config.datasource;


import java.lang.annotation.*;

/**
 * Created with IntelliJ IDEA.
 * User: Legolas
 * Date: 2017/7/17 0017
 */

/*该注解不能添加在dao接口层，应该添加在dao实例使用的方法上(service层)*/
@Target({ ElementType.METHOD, ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface TargetDataSource {
    DatasourceKey value();
}